//package com.runmonk.core.study.spring.instance_test;
//
//import org.springframework.context.annotation.AnnotationConfigApplicationContext;
//
///**
// * @author ：runmonk
// * @date ：Created in 2021/4/25 12:19
// */
//public class Test {
//    public static void main(String[] args) {
//        //获取一个容器
//        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class);
//        UserService userService = applicationContext.getBean("userService", UserService.class);
//        System.out.println(userService);
//        System.out.println(userService);
//        System.out.println(userService);
//        System.out.println(userService);
//        userService.say();
//
//    }
//}
